package cn.johnyu.order.controller;

import cn.johnyu.order.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class OrderController {
    @Autowired
    private OrderService orderService;
    @GetMapping("/info")
    public Map<String,String> info(){
        return orderService.info();
    }
}
